#pragma once
#include <iostream>

// SentDataRecord
// 
// Class to represent a single sent data record.
//
// Data Record includes:
//
// index (16 bits)
// CSV data record - the recorded accelerometer data from the helicopter (16 bits)
// shaker A value (16 bits)
// shaker B value (16 bits)
//
// All data record elements are 16 bit unsigned ints

// Use our standard CC3501 namespace
namespace CC3501_Main_GUI {

	using namespace std;
	using namespace System;
	using namespace System::IO;
	using namespace System::Text;
	using namespace System::Diagnostics;
	using namespace System::Collections::Generic;
	using namespace System::Globalization;
	
	#pragma once
	ref class SentDataRecord
	{
		public:

		// Constructor
		SentDataRecord(UInt16, UInt16, UInt16, UInt16);
		
		// Getters
		UInt16 getIndex(void);
		UInt16 getCSVData(void);
		UInt16 getShakerAValue(void);
		UInt16 getShakerBValue(void);

		private:
			UInt16 index;
			UInt16 csvData;
			UInt16 shakerAValue;
			UInt16 shakerBValue;
	};
}

